/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package testing_class;

import java.util.Random;
import stendcontrol.DataProcessor;

/**
 *
 * @author Asko
 */
public class StendMath {
    public static void main(String[] args) {
        DataProcessor dp = new DataProcessor();
          double arr[] = new double[100];

        for (int i = 0; i < arr.length; i++) {

            arr[i] = new Random().nextInt(100)-200;
            System.out.println("Arr" + "[" + i + "] is : " + arr[i]);
        }
        System.out.println("Mean : " + dp.getMaxValue(arr));
        
    }
    
  
     
       
}
